#ifndef __LEDS_H__
#define __LEDS_H__

enum led_name {
	GREEN = 1,
	YELLOW = 2,
	RED = 3,
};

enum led_brightness {
	LED_OFF = 0,
	LED_ON = 1,
};

enum led_trigger {
    TIMER = 0,
    HEARTBEAT = 1,
    CPU0 = 2,
    CPU1 = 3,
    NONE = 4,
};


int xy_trigger_mode_none(enum led_name name);
int xy_trigger_mode_heartbeat(enum led_name name);
int xy_trigger_mode_cpu0(enum led_name name);
int xy_trigger_mode_cpu1(enum led_name name);
int xy_trigger_mode_timer(enum led_name name, 
                          unsigned int on,
                          unsigned int off);
int xy_led_fast_flash(enum led_name name);
int xy_led_slow_flash(enum led_name name);
int xy_led_brightness(enum led_name name, 
                      enum led_brightness brightness);
int xy_led_poweroff();




#endif /* __LEDS_H__ */





